<template>
  <div id="app">
    <Left></Left> 
    <loading></loading>
    <keep-alive>
      <transition> <router-view /> </transition>
    </keep-alive>
  </div>
</template>

<script>
import Storage from "./server/storage.js";
import loading from './components/loading'
import Left from "./components/Left.vue";
import Config from "./server/Config";
export default {
  name: "App",
  data() {
    return {
      transitionName: "slide-left"
    };
  },
  mounted() {
    let user = Storage.get("user");
    Config.user = user;
  },
  components: { Left, loading }
};
</script>

<style>
ul,
li,
p {
  margin: 0;
  padding: 0;
}
#app {
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  padding: 0;
  margin-top: 0px;
}
</style>
